<%@ Page Language="VB" AutoEventWireup="false" CodeFile="casePersonal.aspx.vb" Inherits="casePersonal" MasterPageFile="~/MasterPageExpandable.master" Title="File - Personal Info" Trace="false" %>

<%@ Register Src="caseDocuments.ascx" TagName="caseDocuments" TagPrefix="uc11" %>
<%@ Register Src="casePersonalInfo.ascx" TagName="casePersonalInfo" TagPrefix="uc13" %>
<%@ Register Src="caseUserInfo.ascx" TagName="caseUserInfo" TagPrefix="uc7" %>
<%@ Register Src="caseSupportBroker.ascx" TagName="caseSupportBroker" TagPrefix="uc8" %>
<%@ Register Src="caseProgramInfo.ascx" TagName="caseProgramInfo" TagPrefix="uc9" %>
<%@ Register Src="caseFMSA.ascx" TagName="caseFMSA" TagPrefix="uc10" %>
<%@ Register Src="caseAffirmations.ascx" TagName="caseAffirmations" TagPrefix="uc12" %>
<%@ Register Src="caseEmployee.ascx" TagName="caseEmployee" TagPrefix="uc3" %>
<%@ Register Src="caseLegalGuardian.ascx" TagName="caseLegalGuardian" TagPrefix="uc4" %>
<%@ Register Src="CaseNotes.ascx" TagName="CaseNotes" TagPrefix="uc5" %>
<%@ Register Src="caseParticipantRepInfo.ascx" TagName="caseParticipantRepInfo" TagPrefix="uc6" %>
<%@ Register Src="caseMedicalProvider.ascx" TagName="caseMedicalProvider" TagPrefix="uc2" %>
<%@ Register Src="../SpecialField/SpecialFieldControl.ascx" TagName="SpecialFieldControl" TagPrefix="uc1" %>
<%@ Register Assembly="InputControls" Namespace="InputControls" TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <cc1:EditCaseSubNav ID="EditCaseSubNav1" runat="server" InvalidTabs="none" ShowCaseNotes="True" ShowEmployeeInfo="True" ShowLegalGuardianInfo="True" ShowMedicalCareProvider="True" ShowParticipantRepInfo="True" ShowPersonalInfo="True" UseTable="True" Width="863px" />
    <table>
    <tr height="10"><td></td></tr>
    <tr><td>
           <div id="FileHeaderDiv" runat="server" style="width:800px; margin-bottom:10px;">
              <table style="width:100%" cellpadding="0" cellspacing="0" border="0">
                <tr><td align="left" style="width:50%"><asp:Label ID="DisplayNameLabel" runat="server" Text="John J. Smith" CssClass="partHeaderName"></asp:Label>
                     <cc1:GenericInputControl ID="caseStatus" ControlType="Dropdown" Title="Status" BoundProperty="" DataTextField="Description" DataValueField="Id" runat="server" Editable="True" /></td>
                    <td style="width:50%" align="right"><asp:HyperLink runat="server" ID="PrintablePageHyperLink" Text="Print File" CssClass="labelFont" Font-Underline="true" NavigateUrl="~/Reports/ReportViewerParticipant.aspx" Target="_blank" ></asp:HyperLink>
                                                      &nbsp;&nbsp;&nbsp;  <asp:HyperLink runat="server" ID="FormHyperLink" Text="Forms" runat="server" Font-Underline="true" CssClass="labelFont" NavigateUrl="~/ParticipantForm/Upload.aspx"></asp:HyperLink>  </td></tr>
              </table>
           </div>
        </td></tr>
        <tr><td>
            <div id="FileDiv" runat="server" style="position:relative;width:950px; height:250px; overflow:auto;">
    <asp:MultiView ID="CaseMultiView" runat="server" ActiveViewIndex="0" >
        <asp:View ID="PersonalInfoView" runat="server">
            <uc13:casePersonalInfo ID="CasePersonalInfo" runat="server" />
        </asp:View> 
        <asp:View ID="MedicalView" runat="server" >
            <uc2:caseMedicalProvider ID="CaseMedicalProvider" runat="server" />
        </asp:View>
        <asp:View ID="RepView" runat="server" >
            <uc6:caseParticipantRepInfo ID="CaseParticipantRepInfo" runat="server" />
        </asp:View>
        <asp:View ID="GuardianView" runat="server">
            <uc4:caseLegalGuardian ID="CaseLegalGuardian" runat="server" />
        </asp:View>
        <asp:View ID="EmployeeView" runat="server">
            <uc3:caseEmployee ID="CaseEmployee" runat="server" />
        </asp:View>
        <asp:View ID="CaseNotesView" runat="server">
            <uc5:CaseNotes ID="CaseNotes" runat="server" />
        </asp:View>
        <asp:View ID="AffirmationsView" runat="server">
            <uc12:caseAffirmations ID="CaseAffirmations" runat="server" />
        </asp:View>
        <asp:View ID="FMSAView" runat="server">
            <uc10:caseFMSA ID="CaseFMSA" runat="server" />
        </asp:View>
        <asp:View ID="ProgramInfoView" runat="server">
            <uc9:caseProgramInfo ID="CaseProgramInfo" runat="server" />
        </asp:View>
        <asp:View ID="SupportBrokerInfoView" runat="server">
            <uc8:caseSupportBroker ID="CaseSupportBroker" runat="server" />
        </asp:View>
        <asp:View ID="UserInfoView" runat="server">
            <uc7:caseUserInfo ID="CaseUserInfo" runat="server" />
        </asp:View>
        <asp:View ID="DocumentsView" runat="server">
                <uc11:caseDocuments ID="CaseDocuments1" runat="server" />    
        </asp:View>
        <asp:View ID="ResultsView" runat="server">
        <div style="text-align:center;">
            <cc1:ValidationErrorSummary ID="ValidationErrorSummary1" runat="server" />
            <asp:Button ID="returnToView" Text="OK" runat="server" CssClass="formButton" /></div>
        </asp:View>
        <asp:View ID="DuplicateView" runat="server">
        <div style="text-align:center;">
            <cc1:ValidationErrorSummary ID="ValidationErrorDuplicate" runat="server" />
            <asp:Button ID="GoToDuplicateButton" runat="server"  Text="View above file (cancels insert)" CssClass="formButton" />
            <asp:Button ID="ReturnToFileButton" Text="Return to Current File" runat="server" CssClass="formButton" /></div>
        </asp:View>
    </asp:MultiView>
    </div>
       </td></tr></table>
      
</asp:Content>
<asp:Content ID="FixedContent" runat="server" ContentPlaceHolderID="ContentPlaceHolder2">
   <center><table><tr valign="top"><td><asp:Button ID="SaveButton" runat="server" Text="Save File" CssClass="formButton" /></td>
                      <td valign="top"><asp:Label Id="SuccessLabel" CssClass="labelNoWidthOrMargin" ForeColor="Red" runat="server" Visible="false">File has been saved.</asp:Label></td></tr></table> </center>
</asp:Content>